<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:.//www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content_type" content="text/html;charset=UTF-8" />
    <title>
      <%=@titles %>
    </title>
    <%= stylesheet_link_tag '../skin/admin','../skin/style','../sdmenu/sdmenu'   %>
    <%= javascript_include_tag :defaults %>
  </head>
  <body>
    <!--头部 开始-->
    <div id="container">
      <div id="header">
        <div class="admininfo">
          <h1><img src='<%= $urr+"skin/images/cnlogo.gif" %>' alt="" /><img src='<%= $urr+"skin/images/admin_logo.gif" %>' alt="" /></h1>
          <p>【XXX 管理员】 您好！               [ <%= link_to '安全退出', :controller => 'user' , :action => 'logout' %> ]</p>
        </div>
        <div class="adminnav">
          <div class="navinfo"> </div>
          <div id="close" class="open">&nbsp;</div>
          <div id="open" class="open" style="display:none;">&nbsp;</div>
          <div class="nav">
            &nbsp;
          </div>
        </div>
      </div>
      <!--头部 结束-->

      <!--菜单 开始-->
      <div id="sidebar">
        <div style="float: left" id="my_menu" class="sdmenu">
          <div>            
            <%= render :partial => "layouts/menu" %>          
          </div>
        </div>
      </div>
      <!--菜单 结束-->

       <!--主体 开始-->
      <div id="mainContent">
          <div id="mainContentinner">
            <%= yield %>
          </div>
      </div>
       <!--主体 结束-->
    </div>
  </body>
</html>